package com.demo.service;

import com.demo.domain.Customer;
import com.demo.domain.Department;

import java.util.List;

public interface DepartMentService {
    // 查找列表
    List<Department> find();

    //拿到id
    public Department findOne(long d_id);

    //删除
    public void delete(Department d);

    //修改
    void update(Department department);

    void addDepartMent(Department department);

    //条件查询
//    public List<Customer> findCondition(Customer customer);

    //多条件查询
    public List<Department> findMoreCondition(Department department);


}
